package com.example.wxapi.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;


@RestController
public class AddressController {


    @RequestMapping(
            params = {
                    "do=sys"
            }
    )
    @ResponseBody
    public String sys() {

        return "{\n" +
                "\t\"errno\": 0,\n" +
                "\t\"message\": \"获取成功\",\n" +
                "\t\"data\": {\n" +
                "\t\t\"basic\": {\n" +
                "\t\t\t\"title\": \"闯关赢口红机\",\n" +
                "\t\t\t\"color\": \"\",\n" +
                "\t\t\t\"fontcolor\": \"\",\n" +
                "\t\t\t\"back\": \"https:\\/\\/service.66bbn.com\\/attachment\\/images\\/3098\\/2018\\/11\\/Vg4t4Zr4hQhh4d4ghv4izYD4odvgLd.png\",\n" +
                "\t\t\t\"prop\": \"我的物品\",\n" +
                "\t\t\t\"propicon\": \"https:\\/\\/service.66bbn.com\\/attachment\\/images\\/3098\\/2018\\/11\\/X77q7aR8vc37Aqz777LM73Vl7L744r.png\",\n" +
                "\t\t\t\"icon\": \"https:\\/\\/service.66bbn.com\\/attachment\\/images\\/3098\\/2018\\/11\\/mMQgGS2qnqGi7ZQkSez4ZkEQ4HfkNf.png\",\n" +
                "\t\t\t\"bgm\": \"https:\\/\\/service.66bbn.com\\/attachment\\/audios\\/3098\\/2018\\/11\\/CIiEB4BbEhH4bh4Ed2pbhb2DCCcBz2.mp3\",\n" +
                "\t\t\t\"video_status\": \"0\",\n" +
                "\t\t\t\"video\": \"https:\\/\\/service.66bbn.com\\/attachment\\/videos\\/3098\\/2018\\/11\\/rAcXHMHHKAqimOB42qw7HzA4b342kc.mp4\",\n" +
                "\t\t\t\"cgtitle\": \"闯过三关，口红寄到家！\",\n" +
                "\t\t\t\"explain\": \"\"\n" +
                "\t\t},\n" +
                "\t\t\"icon\": {\n" +
                "\t\t\t\"fontorder\": \"订单\",\n" +
                "\t\t\t\"order\": \"https:\\/\\/service.66bbn.com\\/attachment\\/images\\/3098\\/2018\\/11\\/TJ051jjcm5ycz945Zc3sm4cO14AOa5.png\",\n" +
                "\t\t\t\"fontmy\": \"我的\",\n" +
                "\t\t\t\"my\": \"https:\\/\\/service.66bbn.com\\/attachment\\/images\\/3098\\/2018\\/11\\/pszcEBveWHbNtSVPc6wbcwYnw48N8N.png\"\n" +
                "\t\t},\n" +
                "\t\t\"pay\": {\n" +
                "\t\t\t\"ios\": \"0\",\n" +
                "\t\t\t\"money\": \"6|12|18|24\"\n" +
                "\t\t},\n" +
                "\t\t\"forward\": {\n" +
                "\t\t\t\"title\": \"6元玩口红机赢取大牌口红，你也来试试！\",\n" +
                "\t\t\t\"img\": \"https:\\/\\/service.66bbn.com\\/attachment\\/images\\/3098\\/2018\\/11\\/Ay8MMyz39QWqkJd8zmT2KAYDS668wB.jpg\"\n" +
                "\t\t},\n" +
                "\t\t\"version\": {\n" +
                "\t\t\t\"number\": \"1.2.2\",\n" +
                "\t\t\t\"img\": \"https:\\/\\/service.66bbn.com\\/attachment\\/images\\/3098\\/2018\\/11\\/UjhHT7Bw9JB949l0e9oA4JUw9Rz0eh.png\"\n" +
                "\t\t},\n" +
                "\t\t\"cash\": {\n" +
                "\t\t\t\"type\": \"0\",\n" +
                "\t\t\t\"max\": \"100\",\n" +
                "\t\t\t\"min\": \"10\",\n" +
                "\t\t\t\"fee\": \"0.1\"\n" +
                "\t\t},\n" +
                "\t\t\"stake\": 0,\n" +
                "\t\t\"fenxiao\": {\n" +
                "\t\t\t\"switch\": \"0\",\n" +
                "\t\t\t\"level\": \"2\",\n" +
                "\t\t\t\"ctitle\": [\"分销明细\", \"提现记录\", \"我的团队\", \"生成海报\"],\n" +
                "\t\t\t\"grade\": [{\n" +
                "\t\t\t\t\"grade\": \"初级会员\"\n" +
                "\t\t\t}, {\n" +
                "\t\t\t\t\"grade\": \"中级会员\",\n" +
                "\t\t\t\t\"money\": \"10\",\n" +
                "\t\t\t\t\"pic\": \"\"\n" +
                "\t\t\t}, {\n" +
                "\t\t\t\t\"grade\": \"高级会员\",\n" +
                "\t\t\t\t\"money\": \"100\",\n" +
                "\t\t\t\t\"pic\": \"\"\n" +
                "\t\t\t}],\n" +
                "\t\t\t\"commission\": [{\n" +
                "\t\t\t\t\"commission1\": \"30\",\n" +
                "\t\t\t\t\"commission2\": \"20\",\n" +
                "\t\t\t\t\"commission3\": \"10\"\n" +
                "\t\t\t}, {\n" +
                "\t\t\t\t\"commission1\": \"30\",\n" +
                "\t\t\t\t\"commission2\": \"20\",\n" +
                "\t\t\t\t\"commission3\": \"10\"\n" +
                "\t\t\t}, {\n" +
                "\t\t\t\t\"commission1\": \"30\",\n" +
                "\t\t\t\t\"commission2\": \"20\",\n" +
                "\t\t\t\t\"commission3\": \"10\"\n" +
                "\t\t\t}],\n" +
                "\t\t\t\"bgimg\": \"https:\\/\\/service.66bbn.com\\/attachment\\/images\\/3098\\/2018\\/11\\/xuYW1y7Jhjr7M0fMFZxsmssRHrjr0R.jpg\"\n" +
                "\t\t}\n" +
                "\t}\n" +
                "}";
    }


    @RequestMapping(
            params = {
                    "do=Checkgoods"
            }
    )
    @ResponseBody
    public String Checkgoods() {

        return "{\n" +
                "\t\"errno\": 0,\n" +
                "\t\"message\": \"获取成功\",\n" +
                "\t\"data\": [{\n" +
                "\t\t\"id\": \"102\",\n" +
                "\t\t\"weid\": \"3098\",\n" +
                "\t\t\"title\": \"MAC 魅可子弹头 \",\n" +
                "\t\t\"model\": \"CHILI#\",\n" +
                "\t\t\"price\": \"188\",\n" +
                "\t\t\"thumb\": \"https:\\/\\/service.66bbn.com\\/attachment\\/images\\/3098\\/2018\\/11\\/Ay8MMyz39QWqkJd8zmT2KAYDS668wB.jpg\",\n" +
                "\t\t\"sort\": \"0\"\n" +
                "\t}, {\n" +
                "\t\t\"id\": \"103\",\n" +
                "\t\t\"weid\": \"3098\",\n" +
                "\t\t\"title\": \"MAC 魅可子弹头 \",\n" +
                "\t\t\"model\": \"LADY BUG#\",\n" +
                "\t\t\"price\": \"188\",\n" +
                "\t\t\"thumb\": \"https:\\/\\/service.66bbn.com\\/attachment\\/images\\/3098\\/2018\\/11\\/hVVq0czPZQ6S0xqAdpPPsC8PcsQ66Z.jpg\",\n" +
                "\t\t\"sort\": \"1\"\n" +
                "\t}, {\n" +
                "\t\t\"id\": \"104\",\n" +
                "\t\t\"weid\": \"3098\",\n" +
                "\t\t\"title\": \"DIOR 烈焰蓝金 \",\n" +
                "\t\t\"model\": \"520#\",\n" +
                "\t\t\"price\": \"300\",\n" +
                "\t\t\"thumb\": \"https:\\/\\/service.66bbn.com\\/attachment\\/images\\/3098\\/2018\\/11\\/om0fYRAz2B20A6clfcWobY55MWRRQq.jpg\",\n" +
                "\t\t\"sort\": \"2\"\n" +
                "\t}, {\n" +
                "\t\t\"id\": \"105\",\n" +
                "\t\t\"weid\": \"3098\",\n" +
                "\t\t\"title\": \"DIOR 烈焰蓝金 \",\n" +
                "\t\t\"model\": \"999#\",\n" +
                "\t\t\"price\": \"300\",\n" +
                "\t\t\"thumb\": \"https:\\/\\/service.66bbn.com\\/attachment\\/images\\/3098\\/2018\\/11\\/YAIMEMZmJW3NNqnX29ATIpz9yQYEEq.png\",\n" +
                "\t\t\"sort\": \"3\"\n" +
                "\t}, {\n" +
                "\t\t\"id\": \"106\",\n" +
                "\t\t\"weid\": \"3098\",\n" +
                "\t\t\"title\": \"Armani\",\n" +
                "\t\t\"model\": \"405#\",\n" +
                "\t\t\"price\": \"298\",\n" +
                "\t\t\"thumb\": \"https:\\/\\/service.66bbn.com\\/attachment\\/images\\/3098\\/2018\\/11\\/txmtpDIfZ71c0x1P7iptDdAcSCaq7P.png\",\n" +
                "\t\t\"sort\": \"4\"\n" +
                "\t}, {\n" +
                "\t\t\"id\": \"107\",\n" +
                "\t\t\"weid\": \"3098\",\n" +
                "\t\t\"title\": \"YSL 圣罗兰圆管\",\n" +
                "\t\t\"model\": \"12#\",\n" +
                "\t\t\"price\": \"280\",\n" +
                "\t\t\"thumb\": \"https:\\/\\/service.66bbn.com\\/attachment\\/images\\/3098\\/2018\\/11\\/yu72scv4VuvVZ7fSxN2VV4fPVfvn7n.jpg\",\n" +
                "\t\t\"sort\": \"5\"\n" +
                "\t}]\n" +
                "}";
    }




    @RequestMapping(
            params = {
                    "do=Jine"
            }
    )
    @ResponseBody
    public String Jine() {

        return "{\n" +
                "\t\"errno\": 0,\n" +
                "\t\"message\": \"获取成功\",\n" +
                "\t\"data\": [\"6\", \"12\", \"18\", \"24\"]\n" +
                "}";
    }


    @RequestMapping(
            params = {
                    "do=goods"
            }
    )
    @ResponseBody
    public String goods() {

        return "{\n" +
                "\t\"errno\": 0,\n" +
                "\t\"message\": \"获取成功\",\n" +
                "\t\"data\": [{\n" +
                "\t\t\"id\": \"167\",\n" +
                "\t\t\"weid\": \"3098\",\n" +
                "\t\t\"title\": \"MAC 魅可子弹头 \",\n" +
                "\t\t\"model\": \"CHILI#\",\n" +
                "\t\t\"storeprice\": \"188\",\n" +
                "\t\t\"price\": \"6\",\n" +
                "\t\t\"thumb\": \"https:\\/\\/service.66bbn.com\\/attachment\\/images\\/3098\\/2018\\/11\\/Ay8MMyz39QWqkJd8zmT2KAYDS668wB.jpg\",\n" +
                "\t\t\"sort\": \"0\"\n" +
                "\t}, {\n" +
                "\t\t\"id\": \"168\",\n" +
                "\t\t\"weid\": \"3098\",\n" +
                "\t\t\"title\": \"MAC 魅可子弹头 \",\n" +
                "\t\t\"model\": \"LADY BUG#\",\n" +
                "\t\t\"storeprice\": \"188\",\n" +
                "\t\t\"price\": \"6\",\n" +
                "\t\t\"thumb\": \"https:\\/\\/service.66bbn.com\\/attachment\\/images\\/3098\\/2018\\/11\\/hVVq0czPZQ6S0xqAdpPPsC8PcsQ66Z.jpg\",\n" +
                "\t\t\"sort\": \"1\"\n" +
                "\t}, {\n" +
                "\t\t\"id\": \"169\",\n" +
                "\t\t\"weid\": \"3098\",\n" +
                "\t\t\"title\": \"Armani\",\n" +
                "\t\t\"model\": \"405#\",\n" +
                "\t\t\"storeprice\": \"288\",\n" +
                "\t\t\"price\": \"12\",\n" +
                "\t\t\"thumb\": \"https:\\/\\/service.66bbn.com\\/attachment\\/images\\/3098\\/2018\\/11\\/txmtpDIfZ71c0x1P7iptDdAcSCaq7P.png\",\n" +
                "\t\t\"sort\": \"2\"\n" +
                "\t}, {\n" +
                "\t\t\"id\": \"170\",\n" +
                "\t\t\"weid\": \"3098\",\n" +
                "\t\t\"title\": \"YSL 圣罗兰圆管\",\n" +
                "\t\t\"model\": \"12#\",\n" +
                "\t\t\"storeprice\": \"288\",\n" +
                "\t\t\"price\": \"12\",\n" +
                "\t\t\"thumb\": \"https:\\/\\/service.66bbn.com\\/attachment\\/images\\/3098\\/2018\\/11\\/yu72scv4VuvVZ7fSxN2VV4fPVfvn7n.jpg\",\n" +
                "\t\t\"sort\": \"3\"\n" +
                "\t}, {\n" +
                "\t\t\"id\": \"171\",\n" +
                "\t\t\"weid\": \"3098\",\n" +
                "\t\t\"title\": \"DIOR 烈焰蓝金 \",\n" +
                "\t\t\"model\": \"520#\",\n" +
                "\t\t\"storeprice\": \"300\",\n" +
                "\t\t\"price\": \"18\",\n" +
                "\t\t\"thumb\": \"https:\\/\\/service.66bbn.com\\/attachment\\/images\\/3098\\/2018\\/11\\/om0fYRAz2B20A6clfcWobY55MWRRQq.jpg\",\n" +
                "\t\t\"sort\": \"4\"\n" +
                "\t}, {\n" +
                "\t\t\"id\": \"172\",\n" +
                "\t\t\"weid\": \"3098\",\n" +
                "\t\t\"title\": \"DIOR 烈焰蓝金 \",\n" +
                "\t\t\"model\": \"999#\",\n" +
                "\t\t\"storeprice\": \"300\",\n" +
                "\t\t\"price\": \"18\",\n" +
                "\t\t\"thumb\": \"https:\\/\\/service.66bbn.com\\/attachment\\/images\\/3098\\/2018\\/11\\/YAIMEMZmJW3NNqnX29ATIpz9yQYEEq.png\",\n" +
                "\t\t\"sort\": \"5\"\n" +
                "\t}]\n" +
                "}";
    }


    @RequestMapping(
            params = {
                    "do=Getuserinfo"
            }
    )
    @ResponseBody
    public String Getuserinfo() {

        return "{\n" +
                "    \"errno\": 0,\n" +
                "    \"message\": \"操作成功\",\n" +
                "    \"data\": \"245428\"\n" +
                "}";
    }


    @RequestMapping(
            params = {
                    "do=Mymoney"
            }
    )
    @ResponseBody
    public String Mymoney() {

        return "{\n" +
                "    \"errno\": 0,\n" +
                "    \"message\": \"获取成功\",\n" +
                "    \"data\": \"100.00\"\n" +
                "}";
    }


    @RequestMapping(
            params = {
                    "do=Myrouge"
            }
    )
    @ResponseBody
    public String Myrouge() {

        return "{\n" +
                "    \"errno\": 0,\n" +
                "    \"message\": \"成功\",\n" +
                "    \"data\": \"0\"\n" +
                "}";
    }

    @RequestMapping(
            params = {
                    "do=Canmoney"
            }
    )
    @ResponseBody
    public String Canmoney() {

        return "{\n" +
                "    \"errno\": 0,\n" +
                "    \"message\": \"操作成功\",\n" +
                "    \"data\": {\n" +
                "        \"money\": 0,\n" +
                "        \"level\": \"初级会员\",\n" +
                "        \"levelno\": \"1\"\n" +
                "    }\n" +
                "}";
    }




    @RequestMapping(
            params = {
                    "do=games"
            }
    )
    @ResponseBody
    public String games() {

        return "{\n"+
                "\t\"errno\": 0,\n"+
                "\t\"message\": \"操作成功\",\n"+
                "\t\"data\": {\n"+
                "\t\t\"money\": 0,\n"+
                "\t\t\"level\": \"初级会员\",\n"+
                "\t\t\"levelno\": \"1\"\n"+
                "\t}\n"+
                "}";
    }


    @RequestMapping(
            params = {
                    "do=Order"
            }
    )
    @ResponseBody
    public String Order() {

        return "{\n" +
                "    \"errno\": 0,\n" +
                "    \"message\": \"成功\",\n" +
                "    \"data\": []\n" +
                "}";
    }



    @RequestMapping(
            params = {
                    "do=Recharge"
            }
    )
    @ResponseBody
    public String Recharge() {

        return "{\n" +
                "\t\"errno\": 0,\n" +
                "\t\"message\": \"操作成功\",\n" +
                "\t\"data\": {\n" +
                "\t\t\"timeStamp\": 1542699794195,\n" +
                "\t\t\"nonceStr\": \"1542699794195\",\n" +
                "\t\t\"package\": \"doudou\",\n" +
                "\t\t  \"sign\": \"sdfsdfsdfsdf\"\n" +
                "\t}\n" +
                "}";
    }


    @RequestMapping(params = {"do=index" })
    @ResponseBody
    public String index(Integer page, Boolean scroll) {


        if (page == 2) {
            return "{\"status\":\"0\"}";
        } else {
            return "{\n" +
                    "\t\"status\": \"1\",\n" +
                    "\t\"lists\": [{\n" +
                    "\t\t\"id\": \"10\",\n" +
                    "\t\t\"title\": \"Hermes\\/爱马仕尼罗河屋顶花园地中海中性女士淡香水持久50ml\",\n" +
                    "\t\t\"sub_title\": \"官方正品\",\n" +
                    "\t\t\"logo\": \"..\\/images\\/4\\/2018\\/11\\/IsxDXXidrnwSRDes6djx6NYJFjRO6z.png\",\n" +
                    "\t\t\"price\": \"6.00\",\n" +
                    "\t\t\"costprice\": \"425.00\"\n" +
                    "\t}, {\n" +
                    "\t\t\"id\": \"9\",\n" +
                    "\t\t\"title\": \"Dior\\/迪奥小姐花漾淡香水50ml\",\n" +
                    "\t\t\"sub_title\": \"官方正品\",\n" +
                    "\t\t\"logo\": \"..\\/images\\/4\\/2018\\/11\\/B4NyU13Ixn411N2JYidrUNUXrX3iuP.png\",\n" +
                    "\t\t\"price\": \"8.00\",\n" +
                    "\t\t\"costprice\": \"425.00\"\n" +
                    "\t}, {\n" +
                    "\t\t\"id\": \"8\",\n" +
                    "\t\t\"title\": \"阿玛尼红管丝绒哑光唇釉 豆沙色烂番茄色口红405\\/400\",\n" +
                    "\t\t\"sub_title\": \"官方正品\",\n" +
                    "\t\t\"logo\": \"..\\/images\\/4\\/2018\\/11\\/g7XkEX7NC7dGbN1bxdXD1cNDwF15Za.png\",\n" +
                    "\t\t\"price\": \"6.00\",\n" +
                    "\t\t\"costprice\": \"310.00\"\n" +
                    "\t}, {\n" +
                    "\t\t\"id\": \"7\",\n" +
                    "\t\t\"title\": \"阿玛尼小细管唇膏 滋润保湿不脱色西柚色枫叶红201\\/400\",\n" +
                    "\t\t\"sub_title\": \"官方正品\",\n" +
                    "\t\t\"logo\": \"..\\/images\\/4\\/2018\\/11\\/Z88bmv0ccrC30W3i7PaAcCOBFPBrRr.png\",\n" +
                    "\t\t\"price\": \"6.00\",\n" +
                    "\t\t\"costprice\": \"320.00\"\n" +
                    "\t}, {\n" +
                    "\t\t\"id\": \"6\",\n" +
                    "\t\t\"title\": \"YSL圣罗兰莹亮纯魅美唇膏 银管双色嘴口红唇印夹心滋润\",\n" +
                    "\t\t\"sub_title\": \"官方正品\",\n" +
                    "\t\t\"logo\": \"..\\/images\\/4\\/2018\\/11\\/n81vJfiQ8JzV8AqVHaXVHNXf1V1Hvf.png\",\n" +
                    "\t\t\"price\": \"6.00\",\n" +
                    "\t\t\"costprice\": \"340.00\"\n" +
                    "\t}, {\n" +
                    "\t\t\"id\": \"5\",\n" +
                    "\t\t\"title\": \"YSL圣罗兰莹亮纯魅唇膏圆管 斩男色口红12蜜桃色46滋润保湿\",\n" +
                    "\t\t\"sub_title\": \"官方正品\",\n" +
                    "\t\t\"logo\": \"..\\/images\\/4\\/2018\\/11\\/P1ZzvQPLt5gf06C8zc07IiIbf500lI.png\",\n" +
                    "\t\t\"price\": \"6.00\",\n" +
                    "\t\t\"costprice\": \"320.00\"\n" +
                    "\t}, {\n" +
                    "\t\t\"id\": \"3\",\n" +
                    "\t\t\"title\": \"阿玛尼405号\",\n" +
                    "\t\t\"sub_title\": \"正品\",\n" +
                    "\t\t\"logo\": \"..\\/images\\/4\\/2018\\/11\\/GZPkME8kMlkMilmp1NAxkaZmalmzET.jpg\",\n" +
                    "\t\t\"price\": \"6.00\",\n" +
                    "\t\t\"costprice\": \"300.00\"\n" +
                    "\t}]\n" +
                    "}";
        }

    }



    @RequestMapping(params = {"do=checkRes" })
    @ResponseBody
    public String checkRes() {

        return "{\"code\":0,\"msg\":\"\\u672c\\u6d3b\\u52a8\\u4ec5\\u9650\\u4f1a\\u5458\\u53c2\\u4e0e\"}";
    }



    @RequestMapping(
            params = {
                    "do=Play"
            }
    )
    @ResponseBody
    public String Play() {



        String yuebuzu = "{\n" +
                "    \"errno\": 1,\n" +
                "    \"message\": \"余额不足\",\n" +
                "    \"data\": \"\"\n" +
                "}";

        return "{\n" +
                "    \"errno\": 0,\n" +
                "    \"message\": \"成功\",\n" +
                "    \"data\": []\n" +
                "}";
    }





}
